package com.health.entity.pojo.dto;

import lombok.Data;

/**
 * @Description
 * @Author konglz
 * @Data 2023/4/21 13:31
 */
@Data
public class QueryAdminLogDTO {
    //账号
    private String account;

    //开始日期
    private String startDate;

    //结束日期
    private String endDate;

    //当前页面
    private Integer currentPage;

    //页面大小
    private Integer pageSize;

    public Integer getCurrentPage() {
        return currentPage == null ? 1 : currentPage;
    }

    public Integer getPageSize() {
        return pageSize == null ? 4 : pageSize;
    }
}
